import {
	getFile,
	get
} from '@/request/request.js'


//获取当前店铺的预约记录
export const getReservationRecord = (state) => get('/storeReservationRecord/manager/list/' + state)

//导出预约记录
export const exportExcel = (state) => getFile('/storeReservationRecord/export/list', {
	state
})

//导出预约统计
export const exportStatistics = ()=>getFile('/storeReservationRecord/export/static')

//获取文件名称
export const getExeclFileName = (type)=>get('/storeReservationRecord/export/fileName', {type})